// Copyright (C) 2022 Linlexiao
#ifndef ANSEDIT_H
#define ANSEDIT_H

#include <QKeyEvent>
#include <QTextEdit>
class AnsEdit : public QTextEdit {
    Q_OBJECT
 public:
    AnsEdit(QWidget* parent = nullptr);
    void keyPressEvent(QKeyEvent* event) override;
 signals:
    void enterPressed();
};

#endif  // ANSEDIT_H
